$OpenBSD: patch-contrib_linenoise_CMakeLists_txt,v 1.2 2017/03/08 17:02:13 sthen Exp $
--- contrib/linenoise/CMakeLists.txt.orig	Sun Dec 25 11:19:12 2016
+++ contrib/linenoise/CMakeLists.txt	Sun Mar  5 15:27:41 2017
@@ -4,7 +4,4 @@ ADD_LIBRARY(rspamd-linenoise STATIC ${LINENOISESRC})
 SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES VERSION ${RSPAMD_VERSION})
 
 IF(ENABLE_FULL_DEBUG MATCHES "OFF")
-if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
-	SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES COMPILE_FLAGS "-O3")
-endif ()
 ENDIF()
